package method.method1202;

public class met06 {
    public static void main(String[] args) {
        odd(50,19);
    }
    public static void odd(int a,int b){
        if (a<=b) {
            for (int c = a; c <= b; c++) {
                if (c % 2 != 0) {
                    System.out.println(c);
                }
            }
        }else{
            for (int c = b; c <= a; c++) {
                if (c % 2 != 0) {
                    System.out.println(c);
                }
            }
        }
    }
}
